package com.yzy.fly.service.util;

//import com.yzy.fly.ide.valid.VariableDefinitionValid;
import com.yzy.fly.util.RegexUtil;

public class JavaFieldUtil {

    public static boolean isJavaField(String fieldName) {
        boolean valid = true;
//        if (VariableDefinitionValid.keywords.contains(fieldName)) {
//            valid = false;
//        }
        if (!RegexUtil.isJavaField(fieldName)) {
            valid = false;
        }
        return valid;
    }

    public static void main(String[] args) {

        System.out.println(isJavaField("return"));
    }

}
